<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="John Doe's featured projects and case studies">
    <title>Projects | John Doe</title>
    
    <!-- Google Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700&family=Fira+Code&display=swap" rel="stylesheet">
    
    <!-- Tailwind CSS CDN -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- FontAwesome CDN -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- Custom CSS -->
    <link rel="stylesheet" href="/css/styles.css">
</head>
<body class="font-inter bg-white text-dark">
    <!-- Navigation -->
    <header class="sticky top-0 z-50 bg-white/90 backdrop-blur-sm shadow-sm transition-all">
        <nav class="container flex items-center justify-between py-4">
            <a href="/" class="font-montserrat font-bold text-primary text-xl">JD</a>
            <div class="hidden md:flex space-x-8">
                <a href="/" class="text-gray-600 hover:text-primary">Home</a>
                <a href="/about.html" class="text-gray-600 hover:text-primary">About</a>
                <a href="/projects.html" class="text-primary hover:text-secondary">Projects</a>
                <a href="/blog.html" class="text-gray-600 hover:text-primary">Blog</a>
                <a href="/contact.html" class="text-gray-600 hover:text-primary">Contact</a>
            </div>
            <button class="md:hidden" aria-label="Menu">
                <i class="fas fa-bars text-xl"></i>
            </button>
        </nav>
    </header>

    <!-- Projects Section -->
    <main class="container py-16">
        <h1 class="font-montserrat text-4xl font-bold mb-12 text-center">My Projects</h1>
        
        <!-- Projects Grid -->
        <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
            <!-- Project 1 -->
            <article class="card group" tabindex="0">
                <picture>
                    <source srcset="/assets/images/project1.webp" type="image/webp">
                    <img src="/assets/images/project1.jpg" 
                         alt="E-commerce Platform Screenshot" 
                         class="card-img"
                         loading="lazy"
                         width="800"
                         height="450">
                </picture>
                <div class="card-body">
                    <h2 class="card-title">E-commerce Platform</h2>
                    <p class="card-desc">Full-stack e-commerce solution with React and Node.js</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="tag tag-primary">React</span>
                        <span class="tag tag-primary">Node.js</span>
                        <span class="tag tag-primary">MongoDB</span>
                    </div>
                    <a href="#" class="btn btn-primary mt-4" aria-label="View E-commerce Platform details">View Details</a>
                </div>
            </article>
            
            <!-- Project 2 -->
            <article class="card group" tabindex="0">
                <picture>
                    <source srcset="/assets/images/project2.webp" type="image/webp">
                    <img src="/assets/images/project2.jpg" 
                         alt="Analytics Dashboard Screenshot" 
                         class="card-img"
                         loading="lazy"
                         width="800"
                         height="450">
                </picture>
                <div class="card-body">
                    <h2 class="card-title">Analytics Dashboard</h2>
                    <p class="card-desc">Data visualization platform with real-time updates</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="tag tag-primary">D3.js</span>
                        <span class="tag tag-primary">TypeScript</span>
                        <span class="tag tag-primary">Firebase</span>
                    </div>
                    <a href="#" class="btn btn-primary mt-4" aria-label="View Analytics Dashboard details">View Details</a>
                </div>
            </article>
            
            <!-- Project 3 -->
            <article class="card group" tabindex="0">
                <picture>
                    <source srcset="/assets/images/project3.webp" type="image/webp">
                    <img src="/assets/images/project3.jpg" 
                         alt="Fitness App Screenshot" 
                         class="card-img"
                         loading="lazy"
                         width="800"
                         height="450">
                </picture>
                <div class="card-body">
                    <h2 class="card-title">Fitness Tracker</h2>
                    <p class="card-desc">Mobile fitness tracking application with workout plans</p>
                    <div class="mt-4 flex flex-wrap gap-2">
                        <span class="tag tag-primary">React Native</span>
                        <span class="tag tag-primary">Redux</span>
                        <span class="tag tag-primary">GraphQL</span>
                    </div>
                    <a href="#" class="btn btn-primary mt-4" aria-label="View Fitness Tracker details">View Details</a>
                </div>
            </article>
        </div>
    </main>

    <!-- Footer -->
    <footer class="bg-dark text-white py-8">
        <div class="container">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <p>&copy; 2023 John Doe. All rights reserved.</p>
                </div>
                <div class="flex space-x-6">
                    <a href="https://github.com" aria-label="GitHub" class="hover:text-primary">
                        <i class="fab fa-github text-xl"></i>
                    </a>
                    <a href="https://linkedin.com" aria-label="LinkedIn" class="hover:text-primary">
                        <i class="fab fa-linkedin text-xl"></i>
                    </a>
                    <a href="https://twitter.com" aria-label="Twitter" class="hover:text-primary">
                        <i class="fab fa-twitter text-xl"></i>
                    </a>
                </div>
            </div>
        </div>
    </footer>

    <!-- Custom JS -->
    <script src="/js/app.js"></script>
</body>
</html>